/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package ranophoenix.osgijee.module1.impl;

import org.osgi.framework.BundleActivator;
import org.osgi.framework.BundleContext;
import ranophoenix.osgijee.core.ModuleExtension;

/**
 *
 * @author ranophoenix
 */
public class Activator implements BundleActivator {    
    public void start(BundleContext bc) throws Exception {                
        bc.registerService(ModuleExtension.class.getName(), new ModuleExtensionImpl(bc), null);
        
        System.out.println("Module1 started");
    }

    public void stop(BundleContext bc) throws Exception {
        System.out.println("Module1 stopped");
    }
    
}
